package com.lvw.weather.gateway;

import com.lvw.weather.gateway.config.ZuulFilterProperties;
import com.lvw.weather.gateway.filter.AccessFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableZuulProxy
// 不建议使用@ConfigurationPropertiesScan("com.lvw.weather.gateway.config")
public class WeatherApiGatewayApplication {

	public static void main(String[] args) {
		SpringApplication.run(WeatherApiGatewayApplication.class, args);
	}


}
